package com.amqp.demo.statemachine.action;

import com.amqp.demo.statemachine.Events;
import com.amqp.demo.statemachine.States;
import org.springframework.statemachine.StateContext;
import org.springframework.statemachine.action.Action;

public class BaseAction implements Action<States, Events> {
    @Override
    public void execute(StateContext<States, Events> context) {
        System.out.println(Thread.currentThread().getName()+":action动作:"+context);
    }

}
